package com.feng.study.value;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @Author: Zeng ShaoYong
 * @Date: 2021-09-24
 * @Description:
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MdmAttrMapping {

    private String categoryCode;

    private String categoryName;

    private List<AttrMapping> attrs;

    @Data
    public static class AttrMapping {

        private String mdmAttrCode;

        private String mdmAttrName;

        private String systemAttrName;

        private String systemAttrType;

        private String productAttrName;

        private Boolean isRequired;

        private Boolean isProductAttr;

        private Boolean isMultiSelect;

        private Boolean isCategoryShow;
    }
}